package com.example.demo.intf;

import com.example.demo.bean.Result;
import com.example.demo.entity.LoginUser;
import com.example.demo.entity.Message;
import com.example.demo.entity.User;
import com.example.demo.exception.SPIPException;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @author 88377761
 *
 */
@FeignClient(value = "user-admin")
public interface MessageInterface {
	@GetMapping(value = "/messageList")
	Result messageList(@RequestParam String userId) throws SPIPException;
}
